package com.tulingxueyuan.mall.modules.pms.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tulingxueyuan.mall.modules.pms.model.PmsProductAttribute;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tulingxueyuan.mall.dto.RelationAttrInfoDto;

import java.util.List;

/**
 * <p>
 * 商品属性参数表 服务类
 * </p>
 *
 * @author SiXiaoLong
 * @since 2022-10-13
 */
public interface PmsProductAttributeService extends IService<PmsProductAttribute> {
    Page getList(Long productAttributeCategoryId, Integer pageNum, Integer pageSize, Integer type);

    boolean create(PmsProductAttribute pmsProductAttribute);

    boolean delete(List<String> ids);

    List<RelationAttrInfoDto> getRelationAttrInfoById(Long id);

//    void getAttr(Long id);
}
